﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication5
{
    public class Boy : IFly, IUser
    {
        //隐式实现

        public string GetFly()
        {
            return "我是男孩，我要飞";
        }



        //string IUser.GetName(string name)
        //{
        //    return name;
        //}

        string IUser.GetContent(IUser u)
        {
            throw new NotImplementedException();
        }

        string IUser.GetFly()
        {
            return "飞吧";
        }


        public string GetName(string name)
        {
            return name;
        }
    }
}
